<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
  <head>
    <title>Portecle: How to export a keystore entry</title>
    <link rel="stylesheet" href="help.css" type="text/css">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>

  <body>

    <h1>How to export a keystore entry</h1>
    <hr>

    <p>
      To export a keystore entry:
    </p>

    <ol>
      <li>Right-click on the keystore entry in the
        keystore entries table.  Select the <b>Export</b>
        item from the resultant pop-up menu.</li>

      <li>The <b>Export Keystore Entry</b> dialog is displayed.  The options
        available depend on the type of entry you chose to export and are
        detailed below:

        <ul>
          <li>Key pair export types
            <ul>
              <li>Head Certificate (export formats: DER, PEM, PKCS #7 or
                PkiPath)</li>
              <li>Certificate Chain (export formats: PKCS #7 or PkiPath)</li>
              <li>Private Key and Certificates (export formats: PEM or
                PKCS #12)</li>
            </ul>
          </li>

          <li>Trusted certificate export types
            <ul>
              <li>Head Certificate (export formats: DER, PEM, PKCS #7 or
                PkiPath)</li>
            </ul>
          </li>
        </ul>
      </li>

      <li>Choose your preferred <b>Export Type</b> and <b>Export Format</b>
        and press the <b>OK</b> button.</li>

      <li>If the current keystore type is not <b>PKCS #12</b>, the
        export is for <b>Private Key and Certificates</b> and you have
        yet to supply the password for the entry:
        <ul>
          <li>The <b>Key Pair Entry Password</b> dialog will be displayed.</li>
          <li>Enter the key pair entry's password and acknowledge the dialog
            by pressing <b>OK</b>.</li>
        </ul>
      </li>

      <li>If the export is for a <b>Private Key and Certificates</b>:
        <ul>
          <li>The <b>PKCS #12 Keystore Password</b> dialog will be
            displayed.</li>
          <li>Enter the password to protect the keystore with, confirm it and
            press the <b>OK</b> button.</li>
        </ul>
      </li>

      <li>The <b>Export</b> dialog is displayed.</li>

      <li>Select the folder to export to.</li>

      <li>Type the filename into the <b>File Name</b> text box.</li>

      <li>Click on the <b>Export</b> button.</li>

    </ol>

    <hr>
  </body>
</html>
